Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unreal] bugfix in Quickjs for V8Backend.hpp #1680

Closed
wants to merge 1 commit into from

Conversation

zombieyang
Copy link
Contributor

使用quickjs时,这个char*没有结尾0导致cpp侧获取的字符串不对。

@chexiongsheng
Copy link
Collaborator

首先这格式不对。
其次如果v8是有0结尾的话,更合适的方法是改backend-quickjs,backend-quickjs本来就是模拟v8 api。
如果v8是有0结尾,应该它的Utf8Length返回已经包含了0,backend-quickjs应该和这个行为保持一致

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants